def char_static():
    my_str = input("Enter a string: ")
    str_dict = {
        'Upper': 0,
        'Lower': 0,
        'Digits': 0,
        'Other': 0
    }
    for s in my_str:
        if s.isupper():
            str_dict['Upper'] += 1
        elif s.islower():
            str_dict['Lower'] += 1
        elif s.isdigit():
            str_dict['Digits'] += 1
        else:
            str_dict['Other'] += 1

    for key, value in str_dict.items():
        print(f'{key}: {value}')


if __name__ == '__main__':
    char_static()
